home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / falcon / nt_dsp1.lzh / NT_DSP1.MSA / FFT / SINCOS.HLP < prev    next >
Encoding:
Text File  |  1990-01-17  |  907 b   |  21 lines

  1.          Name: SINCOS.ASM
  2.          Type: Assembler Macro
  3.       Version: 1.2
  4.  Date Revised: 25-Nov-86
  5.  
  6.   Description: Sine-Cosine FFT Table Generator Macro
  7.  
  8.  This macro generates lookup tables for FFT coefficients (twiddle
  9.  factors).  The coefficients are complex, with the real part (-cosine)
  10.  in X Data memory and the imaginary part (-sine) in Y Data memory.
  11.  Each table contains one-half cycle (180 degrees) of the waveform.
  12.  For an N point FFT, N/2 X Data and N/2 Y Data locations are required.
  13.  Note that the assembler transcendental functions are used to
  14.  calculate the sine and cosine values, which have a range of -1 to +1.
  15.  The particular rounding used minimizes the total harmonic distortion
  16.  (THD) of the waveform.
  17.  
  18.  The SINCOS macro can be used with the FFTR2A, FFTR2B, FFTR2C and
  19.  FFTR2E macros to perform complex FFT's up to 32768 points and real
  20.  FFT's up to 65536 points.
  21.